make model with migration laravel

48

artisan make model with migration -

php artisan make:model Model_Name -m

laravel make model with migration and controller -

php artisan make:model Todo -mcr

laravel create model -

# The easiest way to create a model instance is using the 
# make:model Artisan command:

php artisan make:model Flight

# If you would like to generate a database migration when you 
# generate the model, you may use the --migration or -m option:

php artisan make:model Flight --migration
php artisan make:model Flight -m

Comments

Submit
0 Comments